package com.javabasic2.packet;

import java.io.Serializable;
import java.util.ArrayList;


@SuppressWarnings("serial")
public class PJChatPacket implements Serializable{
	/**
	 * @number 클라이언트 번호
	 * @id 클라이언트 아이디
	 * @type 전송 데이터 타입
	 * @data 전송 데이터
	 */
	private int number;
	private String id;
	private String type;
	private Object data;
	private Object data2;
	private boolean trueORfalse;
	private String[]userList;
	private ArrayList<Integer> scoreList;
	private ArrayList<PicturePacket> pointList;
	public PJChatPacket(){
		System.out.println("************PJChatPacket패킷연결완료***********");
	}
	public void setAll(int number,String id, String type, Object data){
		this.number = number;
		this.id = id;
		this.type = type;
		this.data = data;
	}
	
	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	public String[] getUserList() {
		return userList;
	}
	public void setUserList(String[] userList) {
		this.userList = userList;
	}
	public Object getData2() {
		return data2;
	}
	public void setData2(Object data2) {
		this.data2 = data2;
	}
	public boolean isTrueORfalse() {
		return trueORfalse;
	}
	public void setTrueORfalse(boolean trueORfalse) {
		this.trueORfalse = trueORfalse;
	}
	public ArrayList<Integer> getScoreList() {
		return scoreList;
	}
	public void setScoreList(ArrayList<Integer> scoreList) {
		this.scoreList = scoreList;
	}
	public ArrayList<PicturePacket> getPointList() {
		return pointList;
	}
	public void setPointList(ArrayList<PicturePacket> pointList) {
		this.pointList = pointList;
	}
}